package com.zy.web.demo.duoxiancheng.demo2;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/7/28 15:47
 */
public class Run2 extends Thread{

    @Override
    public void run() {
        try {
            System.out.println("run name="+currentThread().getName()+" begin");
            Thread.sleep(2000);
            System.out.println("run name="+currentThread().getName()+" end");
        }catch (InterruptedException e){
            e.printStackTrace();
        }
    }
}
